import axios from "axios";
axios.defaults.baseURL = "/api"

//1. 文件上传
export function uploadFile(data){
    return axios.request({
        url:'/thirdparty/uploadFile',
        data,
        headers:{"Content-Type":"multipart/form-data"},
        method:'post'
    })
}